<template>
  <div class="imgList">
    <img v-lazy="item" :key="item" v-for="item in imglist">
  </div>
</template>

<script>
import Vue from 'vue'
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload,{
  preLoad: 1.3,
})
import img from "@/assets/img/logo.jpg";

export default {
  name: "index",
  data() {
    return {
      imglist: [],
      img: img
    }
  },
  mounted() {
    for (let i = 0; i < 100; i++) {
      this.imglist.push(this.img)
    }
  }
}
</script>

<style scoped>

</style>